package com.xli.metadata.frameconfig.entity.dto;

import com.xli.dto.search.SearchDTO;
import com.xli.dto.search.type.QueryType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ConfigSearchDTO extends SearchDTO {

    @Schema(description = "参数名")
    @QueryType(value = QueryType.Type.LIKE, field = "config_name")
    private String configName;

    @Schema(description = "参数分类")
    @QueryType(value = QueryType.Type.EQ, field = "category_id")
    private String categoryId;
}
